Charge pump circuits for clock and data recovery

ABSTRACT

The present invention is directed to electrical circuits. More specifically, embodiments of the present invention provide a charge pump, which can be utilized as a part of a clock data recovery device. Early and late signals are used as differential switching voltage signals in the charge pump. The first switch and a second switch are used for controlling the direction of the current flowing into the loop filter. Input differential voltages to the switches are being generated with an opamp negative feedback loop. The output voltage of the first switch and the second switch is used in conjunction with a resistor to generate a charge pump current. There are other embodiments as well.

CROSS-REFERENCES TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 16/271,413, filed on Feb. 8, 2019, which is a continuation of U.S. patent application Ser. No. 15/663,419, filed on Jul. 28, 2017, now issued as U.S. Pat. No. 10,243,570 on Mar. 26, 2019, which are hereby incorporated by reference in their entirety.

BACKGROUND OF THE INVENTION

The present invention is directed to electrical circuits.

Over the last few decades, the use of communication networks exploded. In the early days of the Internet, popular applications were limited to emails, bulletin board, and mostly informational and text-based web page surfing, and the amount of data transferred was usually relatively small. Today, Internet and mobile applications demand a huge amount of bandwidth for transferring photo, video, music, and other multimedia files. For example, a social network like Facebook processes more than 500 TB of data daily. With such high demands on data and data transfer, existing data communication systems need to be improved to address these needs. For high-data communication applications, serializer/deserializer (“SERDES” or “SerDes”) with clock and data recovery (CDR) modules are often used.

Over the past, there have been many types of communication systems and methods. Unfortunately, they have been inadequate for various applications. More specifically, existing CDR devices are often inadequate in various applications. Therefore, improved systems and methods are desired.

BRIEF SUMMARY OF THE INVENTION

The present invention is directed to electrical circuits. More specifically, embodiments of the present invention provide a charge pump, which can be utilized as a part of a clock data recovery device. Early and late signals are used as differential input control signals in the charge pump. A first switch and a second switch are used for controlling the direction of the charge pump current. The output voltage of the first switch and the second switch is used in conjunction with a resistor to generate a charge pump current. There are other embodiments as well.

According to an embodiment, the present invention provides a clock data recovery device. The device includes a data sampler for performing data sampling on received data signals and generating a clock signal. The data sampler is configured to adjust the data clock signal using a loop filter and a voltage controlled oscillator (VCO). The device also includes an edge sampler for performing sampling on the received data signals during transition and generating an edge clock signal. The device further includes a phase detector configured to generate an early and a late signal using the data clock signal and the edge clock signal. The device additionally includes a charge pump module comprising a first switch and a second switch and an output resistor. The charge pump module is configured to provide a pair of differential voltages. The pair of differential voltages includes a first voltage based on the late signal and coupled to the first switch. The pair of differential voltages also includes a second voltage based on the early signal and coupled to the second switch. The output resistors are configured to output a charge pump current based on the pair of differential voltages. The device also includes a loop filter being configured to generate the offset signal based on the charge pump current.

According to another embodiment, the present invention provides a SerDes apparatus. The apparatus includes an input terminal for processing an input data stream. The apparatus also includes an equalizer module configured to generate an equalized data stream based on the input data stream. The apparatus additionally includes a variable gain amplifier configured to generate an amplified data stream based on the equalized data stream. The apparatus further includes a clock data recover (CDR) device configured to generate a clock signal using the input data stream. The CDR device has a phase detector, charge pump, loop filter and a VCO. The phase detector is configured to generate an early signal and a late signal based on the data stream. The charge pump has a first switch and a second switch. The first switch is coupled to a first differential voltage based on the late signal. The second switch is coupled to a second differential voltage based on the early signal. The charge pump is configured to generate an offset signal for adjusting the clock signal using a charge pump current based on the first differential voltage and the second differential voltage.

According to yet another embodiment, the present invention provides a charge pump circuit device. The device includes an input transistor for receiving an input signal. The device also includes a first transistor configured to generate a first differential voltage based on the input signal. The first transistor includes a first gate terminal and a first output terminal. The device also includes a first resistor and a second resistor coupled to a first output terminal. The device includes an operational amplifier comprising a first input terminal and a second output terminal. The second output terminal is coupled to the first output terminal via the first resistor. The device also includes a first switch coupled to the first output terminal via the second resistor. The first switch is turned on by a late signal. The device includes a second transistor comprising a second gate terminal and a third output terminal. The second gate terminal is coupled to the second output terminal. The device additionally includes a third resistor coupled to the third output terminal. The device further includes a second switch coupled to the third output terminal via the third resistor. The second switch is turned on by an early signal. The device also includes a fourth resistor coupled to the first switch and a second switch. The fourth resistor is associated with a charge pump current.

It is to be appreciated that embodiments of the present invention provide many advantages over conventional techniques. Compared to existing designs, charge pump devices according to embodiments of the present invention reduce the amount of charge glitches by using differential voltages as input signals. Additionally, charge pump devices according to embodiments of the present invention are less susceptible to parasitic effects of capacitors.

Embodiments of the present invention can be implemented in conjunction with existing systems and processes. For example, charge pump devices according to embodiments of the present invention can be manufactured using existing manufacturing processes, and they can be incorporated into various types of CDR designs.

The present invention achieves these benefits and others in the context of known technology. However, a further understanding of the nature and advantages of the present invention may be realized by reference to the latter portions of the specification and attached drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

The following diagrams are merely examples, which should not unduly limit the scope of the claims herein. One of ordinary skill in the art would recognize many other variations, modifications, and alternatives. It is also understood that the examples and embodiments described herein are for illustrative purposes only and that various modifications or changes in light thereof will be suggested to persons skilled in the art and are to be included within the spirit and purview of this process and scope of the appended claims.

FIG. 1 is a simplified block diagram illustrating a communication system according to embodiments of the present invention.

FIG. 2 is a simplified diagram illustrating a receiver apparatus according to embodiments of the present invention.

FIG. 3 is a diagram illustrating a conventional charge pump architecture for clock and data recovery (CDR).

FIG. 4 is simplified diagram illustrating a switching mechanism used in exemplary charge pump implementations according to embodiments of the present invention.

FIG. 5 is a simplified diagram illustrating a charge pump architecture according to embodiments of the present invention.

FIG. 6 is a timing diagram illustrating operation of the charge pump architecture according to embodiments of the present invention.

FIG. 7 is a graph illustrating simulation results for a charge pump architecture according to embodiments of the present invention.

DETAILED DESCRIPTION OF THE INVENTION

The present invention is directed to electrical circuits. More specifically, embodiments of the present invention provide a charge pump, which can be utilized as a part of a clock data recovery device. Early and late signals are used as differential input control signals in the charge pump. A first switch and a second switch are used for controlling the direction of the charge pump current. The output voltage of the first switch and the second switch is used in conjunction with a resistor to generate a charge pump current. There are other embodiments as well.

FIG. 1 is a simplified block diagram illustrating a communication system according to embodiments of the present invention. This diagram is merely an example, which should not unduly limit the scope of the claims. One of ordinary skill in the art would recognize many variations, alternatives, and modifications. In FIG. 1, the transmitter (TX) transits data signal, as a differential signal, to the receiver (RX) via a pair of communication channels. For example, the transmitter and the receiver are implemented as parts of for SerDes systems. At the receiver, the input signals are received at the input terminals with inductive coils and termination resistors that improves the signal integrity. The CTLE module is implemented as a part of the receiver. Input signals are equalized by the CTLE before further processing. For example, loss of signal detection (LOSD) module determines whether there is signal being received. Once it is determined that there are signal coming from the transmitting entity (TX), equalization is performed by the CTLE module. On the other hand, if the LOSD module fails to detect signal presence (or detecting a week signal), signal processing is not performed. For example, the CTLE module is used as a component of an analog front end portion of the communication device. The equalized signal, which is a differential pair, is then provided to the VGA as show. The VGA is specifically configured to amplify the received signal by a predetermined amount, and the VGA operates in conjunction with CLTE. It is to be appreciated that the use of CTLEs with VGAs takes advantage of the fact that CTLEs are essential front end circuit of the receiver devices. For example, receivers are generally implemented with CTLEs followed by one or more VGAs. For example, the VGA is configured to enable constant output voltage swing at the output for a different set of input signal swings by adjusting the gain control code.

As shown in FIG. 1, after equalization is performed by the CTLE module and adjusted by the VGA, signal processing such as clock data recovery (CDR), analog to digital conversion (ADC), and/or other processes are then performed. The CDR module is configured to determine a frequency for the incoming data and to phase-align the clock to the transition in the data stream. According to embodiments of the present invention, CDR modules include phase detectors that generate early/late signals, and based on the early/late signals, charge pumps inject control amounts of charge into a loop filter. It is to be appreciated that the receiver illustrated in FIG. 1 can be used in a variety of applications and systems. For example, the receiver can be a part of a transceiver device.

The following description is presented to enable one of ordinary skill in the art to make and use the invention and to incorporate it in the context of the particular applications. Various modifications, as well as a variety of uses in different applications will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to a wide range of embodiments. Thus, the present invention is not intended to be limited to the embodiments presented, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

In the following detailed description, numerous specific details are set forth in order to provide a more thorough understanding of the present invention. However, it will be apparent to one skilled in the art that the present invention may be practiced without necessarily being limited to these specific details. In other instances, well-known structures and devices are shown in block diagram form, rather than in detail, in order to avoid obscuring the present invention.

The reader's attention is directed to all papers and documents which are filed concurrently with this specification and which are open to public inspection with this specification, and the contents of all such papers and documents are incorporated herein by reference. All the features disclosed in this specification, (including any accompanying claims, abstract, and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise. Thus, unless expressly stated otherwise, each feature disclosed is one example only of a generic series of equivalent or similar features.

Furthermore, any element in a claim that does not explicitly state “means for” performing a specified function, or “step for” performing a specific function, is not to be interpreted as a “means” or “step” clause as specified in 35 U.S.C. Section 112, Paragraph 6. In particular, the use of “step of” or “act of” in the Claims herein is not intended to invoke the provisions of 35 U.S.C. 112, Paragraph 6.

Please note, if used, the labels left, right, front, back, top, bottom, forward, reverse, clockwise and counter clockwise have been used for convenience purposes only and are not intended to imply any particular fixed direction. Instead, they are used to reflect relative locations and/or directions between various portions of an object.

FIG. 2 is a simplified diagram illustrating a receiver apparatus according to embodiments of the present invention. This diagram is merely an example, which should not unduly limit the scope of the claims. One of ordinary skill in the art would recognize many variations, alternatives, and modifications. As shown in FIG. 2, the CDR module is configured between the variable gain amplifier and the de-multiplexer module. More specifically, the CDR module includes a data sampler and an edge sampler. Together, the data sampler and the edge sampler approximate the phase of the clock with respect to the data. In various embodiments, the data sampler and the edge sampler are implemented using sense-amplifier based regeneration flip-flops. Based on the output from the data sampler and the edge sampler, the bang-bang phase detector (and/or other types of phase detector) generates early/late signal, which is used for phase correction. The charge pump (CP) uses the early/late signal from the phase detector (PD) to generate and inject a controlled amount of charge into the loop filter (LPF), and the filtered signal is used to drive the VCO to the correct frequency and phase, the clock output from the VCO given to the data sampler and the edge sampler to provide phase correction. Additionally, the generated clock is provided to the de-multiplexer module as shown. It is important for the charge pump to generate the correct amount of charge for the purpose of phase correction. More specifically, the amount of charge should be the same in early/late phase. Mismatch or incorrect amount of charge would create undesirable phase offset between the clock edge and center of the data eye. As the Bang-Bang phase detector switches from early to late or late to early, the charge pump would introduce charge glitches. For good performance, it is desirable to minimize charge glitches relative to the actual charge generated by the charge pump. For example, charge glitches can be reducing by decreasing the parasitic capacitance on critical nodes.

FIG. 3 is a diagram illustrating a conventional charge pump architecture for clock and data recovery (CDR). The input signal for early/late indication is receive as a charge pump control word from the digital-to-analog converter (DAC). When late signal is high, switch S₁ and switch S₄ are closed and charge pump current (i.e., current from transistor M₅) is fed into the loop filter and charges the loop filter. When early signal is high switch S₂ and switch S₃ are turned on and charge pump current (i.e., current form transistor M₃) flow away from the loop filter and discharges the loop filter. The operation amplifier configured between the switches reduces the charge sharing between the node Z and W during current switching.

There are various drawbacks associated with conventional charge pump architecture illustrated in FIG. 3. Transistor M₅ and transistor M₃ are a matched pair, and their sizes depend on the mismatch requirement between currents. Generally, transistors M₅ and M₃ are bulky, and hence undesirable parasitic effect associated with nodes X and Y (i.e., respectively corresponding to capacitors C₁ and C₂) can be significant. During early/late switching, glitch current resulting from charging/discharging capacitors C₁ and C₂ can be high, and hence this architecture is not suitable for implementations such as low current charge pump. Additionally, charge pump noise depends on the transconductance of transistors M₅ and M₃, which may contribute to a significant portion of the overall CDR noise. A low noise architecture possible by relaying partially on noise less resisters and transistor currents. It is thus to be appreciated that in various embodiments, the present invention provides novel charge pump implementation used in CDR devices.

FIG. 4 is simplified diagram illustrating a switching mechanism used in exemplary charge pump implementations according to embodiments of the present invention. This diagram is merely an example, which should not unduly limit the scope of the claims. One of ordinary skill in the art would recognize many variations, alternatives, and modifications. As shown in FIG. 4, differential voltages used in a charge pump are controlled by two switches. In contrast to the architecture illustrated in FIG. 3, which operates in a current mode, the switching mechanism (part of an exemplary charge pump described below) operates in a voltage mode. The inputs V_(cp)+del and V_(cp)−del are differential voltages respectively provided to switches S₁ and S₂. Resistor R is used to convert the differential voltages to currents. It is to be appreciated that the differential voltages, as provided to switches S₁ and S₂, are characterized by a low impedance, and the charging and discharging currents are generated using the resistor as shown. Switches S₁ and S₂ are respectively controlled by late and early signals. More specifically, the switch S₁ is controlled by a late signal. When switch S₁ is on, the current through the resister R would be

$\frac{V_{cp} + {De}}{R},$ and this current charges the loop filter. The switch S₂ is controlled by the early signal. When it is on, the current through the resister R will be

$\frac{V_{cp} - {Del}}{R},$ and this current dis-charges the loop filter.

FIG. 5 is a simplified diagram illustrating a charge pump architecture according to embodiments of the present invention. This diagram is merely an example, which should not unduly limit the scope of the claims. One of ordinary skill in the art would recognize many variations, alternatives, and modifications. As shown in FIG. 5, charge pump control word (or control signal) is received from the DAC. For example, the phase detector generates early and late signals based on the phase obtained from the data sampler and the edge sampler, and the early/late signals are provided as control word generated by the DAC.

The charge pump control word is controlling the current given by the DAC, and processed by transistors M₁ and M₂. For example, transistors M₁ and M₂ as shown are implemented using NMOS transistors, but it is to be understood that other types of transistors can be used as well. The control signal propagates through transistors M₃ and M₄. As an example, transistors M₃ and M₄ can be implemented using NMOS transistors as shown, but it is to be understood that other types of transistors can be used as well. Transistor M₄ generates a reference current I_(CP). The operational amplifier OA₁ adjusts the gate voltage of transistor M₅ until transistor M₅ current equals to the current at transistor M₄, and voltage at node Y equals to loop filter voltage V_(cp). As explained above, voltage input to the switches S₁ and S₂ are differential voltages. That is, voltages at node X and node Z are pure differential around the common mode voltage of the loop filter. Voltage at node X is V_(x)=V_(cp)+I_(cp)*R₁. Voltage at node Z is V_(z)=V_(cp)−I_(cp)*R₁. The low pass filter formed by resistor R_(c) and capacitor C_(c) generates stable voltage reference at node x_(f),z_(f). For example, resistor R_(c) and capacitor C_(c) directly coupled to node X_(f) form a low-pass resistor for switch S₁. Resistor R_(c) and capacitor C_(c) directly coupled to node Z_(f) form a low-pass resistor for switch S₂. In various embodiments, resistors Rc respectively at X_(f) node and Z_(f) node are matched resistors with similar resistances. Similarly, capacitors C_(c) respectively at X_(f) node and Z_(f) node are matched capacitors with similar capacitances. When late signal is high, switch S₁ is turned on (i.e., closed), and the current flowing through resistor R_(cp) charges the loop filter. When early signal is high, switch S₂ is turned on, and current flowing through resistor R_(cp) dis-charges the loop filter. It is to be appreciated the charge pump architecture illustrated in FIG. 5 offer many advantages over existing techniques. The current flowing into the loop filter is generated by the reference voltage (i.e., through switch S₁ or switch S₂) and the charge pump resistor R_(cp). This charge pump current is substantially insensitive to glitches, especially at low current (e.g., 25 uA or lower).

The charge pump also includes switch S₃, which is configured between switch S₁ and switch S₂. Among other things, switch S₃ provides equalization between outputs of switch S₁ and switch S₂. In various embodiments, switches S₃ is coupled to a control signal provided by a control module (not shown).

FIG. 6 is a timing diagram illustrating operation of the charge pump architecture according to embodiments of the present invention. This diagram is merely an example, which should not unduly limit the scope of the claims. One of ordinary skill in the art would recognize many variations, alternatives, and modifications. For example, the timing diagram corresponds to charge pump architecture illustrated in FIG. 5. In FIG. 6, switch S₁ corresponds to late signal, and switch S₂ corresponds to early signal. Switch S₁ and switch S₂ alternate, as do the late the early signal. The charge pump current I_(p) closely follow the operation of switches S₁ and S₂. When switch S₁ is on (and switch S₂ is off), charge pump current I_(cp) is positive, which charges the loop filter. When switch S₂ is on (and switch S₁ is off), charge pump current I_(cp) is negative, which discharges the loop filter. Switches control the direction of the current and charge pump control word decides the current magnitude. In various embodiments, the charge pump current levels for charging and discharging are tightly controlled and the amount of glitches is minimized. For example, at time T1, switch S₁ transitions from “on” to “off” and switches S₂ transitions from “off” to “on”, and the charge pump current transitions from a positive current to a negative current. For example, the magnitudes of positive and negative charge pump currents are close. Similarly, at time T2, switch S₁ transitions from “off” to “on” and switches S₂ transitions from “on” to “off”, and the charge pump current transitions from a negative current to a positive current. Again, the magnitudes of positive and negative charge pump currents are close. For example, the positive charge pump current before T1 and the negative charge pump current between T1 and T2 are characterized by substantially the same magnitude.

FIG. 7 is a graph illustrating simulation results for a charge pump architecture according to embodiments of the present invention. For the late signal, the charge pump current I_(cp) (e.g., at region 701) is positive with a magnitude of about 20.5 uA. For the early signal, the charge pump current I_(cp) (e.g., at region 702) is negative with a magnitude of about 20.5 uA, which is substantially the same magnitude as the positive charge pump current. As shown in FIG. 7, charge pump currents for early and late signals can be maintained at stable and minimal glitch area, which allows for precise control and adjustment of CDR output clock phase.

While the above is a full description of the specific embodiments, various modifications, alternative constructions and equivalents may be used. Therefore, the above description and illustrations should not be taken as limiting the scope of the present invention which is defined by the appended claims. 

What is claimed is:
 1. A charge pump device comprising: a first switch comprises a first output and coupled to a late signal; a second switch comprises a second output and coupled to an early signal, the second output being directly coupled to the first output; an output resistor coupled to the first output and the second output and configured to output a charge pump current based at least on the first output and the second output; and a first resistor coupled to the first switch; a second resistor coupled to the second switch; wherein the charge pump current is at a high voltage when the first switch is on.
 2. The device of claim 1 further comprising a third switch for providing equalization between the first switch and the second switch.
 3. The device of claim 1 wherein the charge pump current is low when the second switch is on.
 4. The device of claim 1 further comprises an operational amplifier coupled to the second switch via a first resistor.
 5. The device of claim 1 wherein the charge pump current has a magnitude of less than 40 uA.
 6. The device of claim 1 wherein the first switch is coupled to a first capacitor, and the second switch is coupled to a second capacitor, the first capacitor and the second capacitor are a matched pair.
 7. The device of claim 1 wherein the first resistor and the second resistor are a matched pair.
 8. The device of claim 1 further comprising an input transistor coupled to a digital-to-analog converter.
 9. The device of claim 1 wherein the charge pump current is positive when the first switch is closed.
 10. The device of claim 1 wherein the charge pump current is negative when the first switch is closed.
 11. A clock data recover (CDR) device configured to generate a clock signal based on an input data stream, the device comprising: a data sampler for sampling the input data stream; a phase detector configured to generate an early signal and a late signal based on the input data stream; a charge pump comprising a first switch and a second switch and a third switch, the first switch being coupled to a first differential voltage based on the late signal, the second switch being coupled to a second differential voltage based on the early signal, the charge pump being configured to generate an offset signal for adjusting the clock signal using a charge pump current based on the first differential voltage and the second differential voltage, the third switch being configured to provide equalization between the first switch and the second switch; a loop filter; and a voltage-controlled oscillator (VCO).
 12. The device of claim 11 further comprising an edge sampler.
 13. The device of claim 11 wherein phase detector comprises a bang-bang phase detector.
 14. The device of claim 11 wherein the data sampler is coupled to an amplifier.
 15. The device of claim 11 wherein the loop filter is configured to generate a loop filter voltage.
 16. The device of claim 11 further comprising an output terminal coupled to a de-multiplexer.
 17. A charge pump circuit device comprising: a first transistor configured to generate a first differential voltage based on an input signal, the first transistor comprising a first gate terminal and a first output terminal; a first resistor and a second resistor coupled to a first output terminal; an operational amplifier comprising a first input terminal and a second output terminal, the second output terminal being coupled to the first output terminal; a first switch coupled to the first output terminal, the first switch being turned on by a late signal; a second transistor comprising a second gate terminal and a third output terminal, the second gate terminal being coupled to the second output terminal; a third resistor coupled to the third output terminal; a second switch coupled to the third output terminal, the second switch being turned on by an early signal; and a fourth resistor coupled to the first switch and the second switch, the fourth resistor being associated with a charge pump current, the charge pump current being at a high voltage when the first switch is on.
 18. The device of claim 17 wherein: the fourth resistor is coupled to a loop filter; the operational amplifier further comprises a fourth output signal, the fourth output signal being coupled to the loop filter.
 19. The device of claim 17 further comprising a third switch coupled directly to the first switch and the second switch, the third switch being configured to provide equalization between the first switch and the second switch.
 20. The device of claim 17 wherein the second resistor and the third resistor are a matched pair. 